package com.jvyou.app.ds.domain.entity;

import java.util.Date;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;

/**
 * 题目类型表(QuestionType)表实体类
 *
 * @author 橘柚
 * @since 2025-04-20 19:51:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ds_question_type")
public class QuestionType implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * ID主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 类型名称
     */     
    @TableField("name")      
    private String name; 
      
    /**
     * 类型编码
     */     
    @TableField("code")      
    private String code; 
      
    /**
     * 题目数量
     */     
    @TableField("question_count")      
    private Integer questionCount; 
      
    /**
     * 类型描述
     */     
    @TableField("description")      
    private String description; 
      
    /**
     * 排序权重
     */     
    @TableField("sort_order")      
    private Integer sortOrder; 
      
    /**
     * 状态
     */     
    @TableField("status")      
    private String status; 
      
    /**
     * 创建时间
     */     
      @TableField(value = "created_at", fill = FieldFill.INSERT)      
    private LocalDateTime createdAt; 
      
    /**
     * 更新时间
     */     
      @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)      
    private LocalDateTime updatedAt; 
      
}
